# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=fortune
pkgver=0.1
pkgrel=3
pkgdesc="Fortune cookie program ported from OpenBSD"
url="https://github.com/ahills/fortune"
arch="all"
license="BSD-3-Clause"
options="!check" # no test suite
makedepends="libbsd-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ahills/fortune/archive/v$pkgver.tar.gz"

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="11c883aef8fafea6237fcd1b45fbbb169d6996a253f1def720dd9379c4bfe1bad050789c6e89eb7f1960abde54fe04d85fd13148bd0af8528de630611c0e6e48  fortune-0.1.tar.gz"
